#ifndef __TYPES_H__
#define __TYPES_H__

#include <printk.h>
#include <types.h>

/*
typedef unsigned short u16;
typedef unsigned char u8;
typedef unsigned long ulong;
typedef unsigned short ushort;
typedef unsigned int uint;

#define NULL (0)
*/
typedef unsigned char uchar;


short htons(short s);
long htonl(long l);
#define ntohs htons
#define ntohl htonl


typedef struct bd_info {
//    int			bi_baudrate;	/* serial console baudrate */
    unsigned long	bi_ip_addr;	/* IP Address */
    unsigned long	bi_ip_mask;	
    unsigned char	bi_enetaddr[6]; /* Ethernet adress */
//    struct environment_s	       *bi_env;
//    ulong	        bi_arch_number;	/* unique id for this board */
//    ulong	        bi_boot_params;	/* where this board expects params */
//    struct				/* RAM configuration */
//    {
//	ulong start;
//	ulong size;
//    } 			bi_dram[CONFIG_NR_DRAM_BANKS];
} bd_t;


#endif
